/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.VeDAO;
import DTO.VeDTO;
import java.sql.ResultSet;

/**
 *
 * @author Nobita Chau
 */
public class VeBUS {
       public static ResultSet  TimKiemTatCa() {
        return VeDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(int MaNV)
    {
        return VeDAO.KiemTraTonTai(MaNV);
    }
     public static boolean Them(VeDTO n) {
         return VeDAO.Them(n);
     }
    public static boolean Xoa(int id) {
         return VeDAO.Xoa(id);
     }
     public static boolean Update(VeDTO NV,int id){
          return VeDAO.Update(NV,id);
     }
      public static ResultSet  BaoCao( String ngaydi,String ngayden,String chuyen) {
        return VeDAO.BaoCao(ngaydi,ngayden,chuyen);
    }
}
